package com.aliyun.heiyu.powermaster.server.rotary.object.entity;

import java.util.Date;

/**
 * @Description modbus
 * @Author shun.zhang
 * @Date 2019/12/16 14:32
 **/
public class DModbusEntity {
    private int id;
    private int var_address;
    private String description;
    private String var_type;
    private String modbus_type;
    private String create_by;
    private Date create_time;
    private String update_by;
    private Date update_time;
    private int del;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getVar_address() {
        return var_address;
    }

    public void setVar_address(int var_address) {
        this.var_address = var_address;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getVar_type() {
        return var_type;
    }

    public void setVar_type(String var_type) {
        this.var_type = var_type;
    }

    public String getModbus_type() {
        return modbus_type;
    }

    public void setModbus_type(String modbus_type) {
        this.modbus_type = modbus_type;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public int getDel() {
        return del;
    }

    public void setDel(int del) {
        this.del = del;
    }

    @Override
    public String toString() {
        return "DModbusEntity{" +
            "id=" + id +
            ", var_address=" + var_address +
            ", description='" + description + '\'' +
            ", var_type='" + var_type + '\'' +
            ", modbus_type='" + modbus_type + '\'' +
            ", create_by='" + create_by + '\'' +
            ", create_time=" + create_time +
            ", update_by='" + update_by + '\'' +
            ", update_time=" + update_time +
            ", del=" + del +
            '}';
    }
}
